package org.karson.designpattern.behavioral.visitor.extract1;

/**
 * @author Karson Wang
 * @title Extractor
 * @Description 描述
 * @Date 2020/4/11 17:13
 * @Copyright 2019-2020
 */
public class Extractor {
    public void extract2txt(PPTFile pptFile) {
        //...
        System.out.println("Extract PPT.");
    }

    public void extract2txt(PdfFile pdfFile) {
        //...
        System.out.println("Extract PDF.");
    }

    public void extract2txt(WordFile wordFile) {
        //...
        System.out.println("Extract WORD.");
    }
}